package com.lgq.dao;

import com.lgq.model.Department;
import com.lgq.util.Page;

public interface DepartmentDAO {
	public Page<Department> getAllDepartment(int currentPage,int numPerPage);
	public Page<Department> findByName(int currentPage,int numPerPage,String name);
	public Department findById(int id);
	public Department findByName(String name);
	public boolean updateDepartment(Department department);
	public boolean deleteDepartment(Department department);
	public boolean addDepartment(Department department);
}
